package choopexer1;

import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;
import org.w3c.dom.ls.LSOutput;

import java.util.Scanner;

public class CricleTest {
    public static void main(String[] args) {
        Cricle cricle = new Cricle();
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入圆的半径：");
        cricle.radius=scan.nextDouble();
        System.out.println("元的面积为："+cricle.area());
        System.out.println("圆的周长为："+cricle.perimeter());
    }


}
